import 'package:fish_redux/fish_redux.dart';

import 'action.dart';
import 'state.dart';

Reducer<SplashPageState> buildReducer() {
  return asReducer(
    <Object, Reducer<SplashPageState>>{
      SplashPageAction.init: _init,
    },
  );
}

SplashPageState _init(SplashPageState state, Action action) {
  final SplashPageState newState = state.clone();
  return newState;
}
